<?php

class modelos extends Basemodelos
{
   public function ObtenerMarca($id)
   {
   	 $marca = new marcas;
	 $marca = marcasPeer::retrieveByPk( $id);
     return $marca->getMarca();	 
   }
   public function __toString(){
      return $this->getmarcas().", ".$this->getModelo();
   }
}
